﻿@model IceTea.Domain.Models.PBI

@using IceTea.Infrastructure;

<style>
    #pbidialog .modal-content{
        width: 900px;
        left: -15%;
    }
</style>

<div id="pbidialog" class="modal fade" role="dialog">
    <div class="modal-dialog">
        <div class="modal-content">
            <form>
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title">Product Backlog Item</h4>
            </div>
            <div class="modal-body">
                <div class="control-group">@Html.ValidationSummary()</div>
                <div class="col-md-12">
                    @Html.Partial("PBIContent", Model)
                </div>
            </div>
            <div class="modal-footer">
                <button type="submit" class="btn btn-primary">Save</button>
                <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
            </div>
            </form>
        </div>
    </div>

</div>

<script type="text/javascript">
    $('#pbidialog').modal('show');
    $('#userroleselect').combobox();
</script>